package com.easylinkin.linkappapi.device.mapper;

import com.easylinkin.linkappapi.device.dto.EnvironmentalAreaDTO;
import com.easylinkin.linkappapi.device.dto.EnvironmentalAreaStatisticsDTO;
import com.easylinkin.linkappapi.device.entity.EnvironmentalArea;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.easylinkin.linkappapi.device.entity.vo.EnvironmentalAreaStatisticsQueryVO;
import java.util.List;

/**
 * <p>
 * 环境管理区域表 Mapper 接口
 * </p>
 *
 * @author Xiaoyang
 * @since 2022-09-19
 */
public interface EnvironmentalAreaMapper extends BaseMapper<EnvironmentalArea> {

  List<EnvironmentalAreaDTO> selectDeviceByArea(EnvironmentalAreaDTO areaDTO);

  List<EnvironmentalAreaStatisticsDTO> selectWaterAreaStatistics(EnvironmentalAreaStatisticsQueryVO queryVO);

  List<EnvironmentalAreaStatisticsDTO> selectElectricAreaStatistics(EnvironmentalAreaStatisticsQueryVO queryVO);
}
